package cc.mcyx.ychat.model

import com.mybatisflex.annotation.Id
import com.mybatisflex.annotation.KeyType
import com.mybatisflex.annotation.Table
import java.util.Date

@Table("user")
data class User(
    @Id(keyType = KeyType.Auto)
    val id: Int,
    val username: String,
    val password: String,
    val registerTime: Date,
    var profile: String? = "def"
)